#include <iostream>
using namespace std;
int main ()
{
    int a;



    cout<<"ingrese a"<<endl;

    cin>>a;


    while (a != 0)
    {
        if (a%2==0)

        {
            cout<<"es par"<<endl;
        }
        else

        {
            cout<<"es impar"<<endl;
        }

        cout<<"ingrese a"<<endl;
        cin>>a;

    }

    return 1;



}
